<template>
  <div>
    <h3>父组件</h3>
    <hr>
    <p>父组件{{ num }}</p>
    <son :value="num" @input="val => num=val" />
  </div>

</template>

<script>
import son from './son.vue'
export default {
  components: { son },
  data() {
    return {
      num: 22
    }
  }
}
</script>

<style>

</style>
